public class User {
    String UserName;
    String Password;

    public boolean login (String UserNameparam,String Passwordparam) {
        System.out.println("用户名" + UserNameparam);
        System.out.println("密码" + Passwordparam);
        if (UserNameparam.equals("qwerdf") && Passwordparam.equals("qwer")) {
            return true;
        }else{
            return false;
        }
    }

}